package BasicEngine
{
	public class Msg
	{
		//消息描述
		public var MsgNote:String;
		//消息发送者
		public var Sender:Entity;
		
		/*
		 * 消息接收者
		 * */
		public var Accepter:Entity;
		//ID
		public var AcceptID:int;
		//消息数据
		public var Data:Object;
		//消息辨识码
		
		//唯一标识
		public var ProcMin:String;
		
		public function Msg(_note:String,_sender:Entity,_accepter:Entity,_procMin:String,_data:Object)
		{
			MsgNote = _note;
			Sender = _sender;
			Accepter = _accepter;
			ProcMin = _procMin;
			Data = _data;
			if(_accepter != null)
			    AcceptID = _accepter.ID;
			
		}
	}
}